Optimal. Leaf size=75 \[ \frac {b x^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}{2 \left (a+b x^2\right )}+\frac {a \log (x) \sqrt {a^2+2 a b x^2+b^2 x^4}}{a+b x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {1112, 14} \begin {gather*} \frac {b x^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}{2 \left (a+b x^2\right )}+\frac {a \log (x) \sqrt {a^2+2 a b x^2+b^2 x^4}}{a+b x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 1112
Rubi steps
\begin {align*} \int \frac {\sqrt {a^2+2 a b x^2+b^2 x^4}}{x} \, dx &=\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \int \frac {a b+b^2 x^2}{x} \, dx}{a b+b^2 x^2}\\ &=\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \int \left (\frac {a b}{x}+b^2 x\right ) \, dx}{a b+b^2 x^2}\\ &=\frac {b x^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}{2 \left (a+b x^2\right )}+\frac {a \sqrt {a^2+2 a b x^2+b^2 x^4} \log (x)}{a+b x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 37, normalized size = 0.49 \begin {gather*} \frac {\sqrt {\left (a+b x^2\right )^2} \left (2 a \log (x)+b x^2\right )}{2 \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 0.21, size = 197, normalized size = 2.63 \begin {gather*} \frac {1}{4} \sqrt {a^2+2 a b x^2+b^2 x^4}+\frac {1}{4} a \log \left (\sqrt {a^2+2 a b x^2+b^2 x^4}-a-\sqrt {b^2} x^2\right )-\frac {a \left (\sqrt {b^2}+b\right ) \log \left (\sqrt {a^2+2 a b x^2+b^2 x^4}+a-\sqrt {b^2} x^2\right )}{4 b}-\frac {a \sqrt {b^2} \log \left (b \sqrt {a^2+2 a b x^2+b^2 x^4}-a b-b \sqrt {b^2} x^2\right )}{4 b}-\frac {1}{4} \sqrt {b^2} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 11, normalized size = 0.15 \begin {gather*} \frac {1}{2} \, b x^{2} + a \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 30, normalized size = 0.40 \begin {gather*} \frac {1}{2} \, b x^{2} \mathrm {sgn}\left (b x^{2} + a\right ) + \frac {1}{2} \, a \log \left (x^{2}\right ) \mathrm {sgn}\left (b x^{2} + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 34, normalized size = 0.45 \begin {gather*} \frac {\sqrt {\left (b \,x^{2}+a \right )^{2}}\, \left (b \,x^{2}+2 a \ln \relax (x )\right )}{2 b \,x^{2}+2 a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.39, size = 14, normalized size = 0.19 \begin {gather*} \frac {1}{2} \, b x^{2} + \frac {1}{2} \, a \log \left (x^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.39, size = 109, normalized size = 1.45 \begin {gather*} \frac {\sqrt {a^2+2\,a\,b\,x^2+b^2\,x^4}}{2}-\frac {\ln \left (a\,b+\frac {a^2}{x^2}+\frac {\sqrt {a^2}\,\sqrt {a^2+2\,a\,b\,x^2+b^2\,x^4}}{x^2}\right )\,\sqrt {a^2}}{2}+\frac {a\,b\,\ln \left (a\,b+\sqrt {{\left (b\,x^2+a\right )}^2}\,\sqrt {b^2}+b^2\,x^2\right )}{2\,\sqrt {b^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 10, normalized size = 0.13 \begin {gather*} a \log {\relax (x )} + \frac {b x^{2}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________